package com.ruoyi.product.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论点赞对象 comment_like
 * 
 * @author guoguoa
 * @date 2025-01-07
 */
public class CommentLike extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private Long commentId;

    /** 用户名字 */
    @Excel(name = "用户名字")
    private Integer userId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer del;

    /** 用户 */
    @Excel(name = "用户")
    private SysUser sysUser;

    /** 评论 */
    @Excel(name = "评论")
    private ProductComment productComment;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCommentId(Long commentId) 
    {
        this.commentId = commentId;
    }

    public Long getCommentId() 
    {
        return commentId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }
    public Integer getDel() 
    {
        return del;
    }

    public SysUser getSysUser() {
        return sysUser;
    }
    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public ProductComment getProductComment() {
        return productComment;
    }
    public void setProductComment(ProductComment productComment) {
        this.productComment = productComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commentId", getCommentId())
            .append("userId", getUserId())
            .append("del", getDel())
            .append("sysUser", getSysUser())
            .append("productComment", getProductComment())
            .toString();
    }
}
